<include file="Public/head"/>
<body class="no-skin">
<include file="Public/header"/>
<div class="main-container" id="main-container">
    <script type="text/javascript">
        try {
            ace.settings.check('main-container', 'fixed')
        } catch (e) {
        }
    </script>

    <include file="Public/sidebar"/>
    <div class="main-content">
        <div class="main-content-inner">
            <!-- #section:basics/content.breadcrumbs -->
            <include file="Public/breadcrumbs"/>

            <!-- /section:basics/content.breadcrumbs -->
            <div class="page-content">
                <include file="Public/set"/>

                <!-- /section:settings.box -->
                <div class="row">
                    <div class="col-xs-12">
                        <!-- PAGE CONTENT BEGINS -->
                        <form class="form-horizontal" id="form" method="post" action="{:U('audit')}">
                        	<input type="hidden" name="id" value="{$vo['id']}"/>
                        	<input type="hidden" name="p" value="{$p}"/>
                            <div class="space-4"></div>
							
							<div class="form-group">
                                <label class="col-sm-1 control-label no-padding-right" for="form-field-2">
                                    提现金额： </label>
                                <div class="col-sm-9" style="padding-top: 6px;">
                                    <span class="middle">
                                    	{$vo.tixian_money}
                                    </span>
                                </div>
                            </div>
                            <div class="space-4"></div>
                            
                            <div class="form-group">
                                <label class="col-sm-1 control-label no-padding-right" for="form-field-2">
                                    应提金额： </label>
                                <div class="col-sm-9" style="padding-top: 6px;">
                                    <span class="middle">
                                    	{$vo.final_money}
                                    </span>
                                </div>
                            </div>
                            <div class="space-4"></div>
                            
                            <div class="form-group">
                                <label class="col-sm-1 control-label no-padding-right" for="form-field-2">
                                    提现人： </label>
                                <div class="col-sm-9" style="padding-top: 6px;">
                                    <span class="middle">
                                    	{$vo.username} | {$vo.nickname}
                                    </span>
                                </div>
                            </div>
                            <div class="space-4"></div>
                            <div class="form-group">
                                <label class="col-sm-1 control-label no-padding-right" for="form-field-2">
                                    审核备注： </label>
                                <div class="col-sm-9" style="padding-top: 6px;">
                                    <span class="middle">
                                    	{$vo.remark}
                                    </span>
                                </div>
                            </div>
                            <div class="space-4"></div>
							
                            <div class="form-group">
                                <label class="col-sm-1 control-label no-padding-right" for="form-field-2">
                                    提交时间： </label>
                                <div class="col-sm-9" style="padding-top: 6px;">
                                    <span class="middle">
                                    	{$vo.t|date='Y-m-d H:i:s',###}
                                    </span>
                                </div>
                            </div>
                            <div class="space-4"></div>
							
							<if condition="$vo['status'] eq 1">
							<div class="form-group">
                                <label class="col-sm-1 control-label no-padding-right" for="form-field-0">
                                    状态审核 </label>
                                <div class="col-sm-9">
                                    <select id="status" name="status" class="col-xs-10 col-sm-5">
                                        <option value="2">--通过--</option>
                                        <option value="3">--拒绝--</option>
                                    </select>
                                </div>
                            </div>

                            <div class="space-4"></div>
                            
                            <div class="form-group">
                                <label class="col-sm-1 control-label no-padding-right" for="form-field-1">
                                    备注 </label>
                                <div class="col-sm-9">
                                    <input type="text" name="remark" id="remark" placeholder="备注内容"
                                           class="col-xs-10 col-sm-5">
                                </div>
                            </div>
                            <div class="space-4"></div>
							<else/>
							<div class="form-group">
                                <label class="col-sm-1 control-label no-padding-right" for="form-field-2">
                                    状态： </label>
                                <div class="col-sm-9" style="padding-top: 6px;">
                                    <span class="middle">
                                    	<if condition="$vo['status'] eq 1">待审核</if>
                                    	<if condition="$vo['status'] eq 2">已通过</if>
                                    	<if condition="$vo['status'] eq 3">已拒绝</if>
                                    </span>
                                </div>
                            </div>
                            <div class="space-4"></div>
							
							
							</if>
                            <div class="col-md-offset-2 col-md-9">
                               	<if condition="$vo['status'] eq 1"> 
                                <button class="btn btn-info submit" type="button">
                                    <i class="icon-ok bigger-110"></i>
                                    提交
                                </button>
                                </if>

                                &nbsp; &nbsp; &nbsp;
                                <button class="btn" type="button" onclick="history.back(-1);">
                                    <i class="icon-undo bigger-110"></i>
                                    取消
                                </button>
                            </div>
                        </form>
                        <!-- PAGE CONTENT ENDS -->
                    </div><!-- /.col -->
                </div><!-- /.row -->
            </div><!-- /.page-content -->
        </div>
    </div><!-- /.main-content -->
    <include file="Public/footer"/>

</div><!-- /.main-container -->

<include file="Public/footerjs"/>
<!-- inline scripts related to this page -->
<script type="text/javascript">
    $(function () {
        $(".btn-info.submit").click(function () {      
        	var st = "{$vo['status']}";
        	if(st == 1){
        		$("#form").submit();
        	}
        });
    });

</script>
</body>
</html>
